<template>
  <div>
    <!-- <template v-for="item in routeArr">
      <router-link :to="item.path">
        {{ item.name }}
      </router-link>
      |
    </template> -->
    <!-- <div class="app">这是mhy首页</div> -->
  </div>

  <router-view />
</template>
<script setup>
// import { useRoute, useRouter } from "vue-router";
// import { ref } from "vue";
// const route = useRoute();
// const router = useRouter();
// console.log(router, 1);
// console.log(route, 5);
// const routeArr = ref([]);
// routeArr.value = router.options.routes[3].children;
// console.log(router.options.routes);
// console.log(routeArr.value[3].children);
</script>
<style>
/* .app {
  width: 100%;
  height: 100vh;
  background-image: url("//vueshop.glbuys.com/uploadfiles/1484285302.jpg");
  background-repeat: no-repeat;
} */
</style>
